package com.qf.dao;

import com.qf.entity.Book;
import com.qf.utils.Page;

import java.util.List;

/*
杨威
2021/9/13
21:27
*/
public interface BookDao {
    int insert(Book book);
    int delete(int i);
    int update(Book book);
    Book selectById(int i);
    List<Book> selectAll();
    Long selectCount();
    List<Book> selectAllOrderByDate();
    List<Book> selectAllByPage(Page page);
}
